/**
 * 资源相关请求模块
 */
import request from '@/utils/request'

export const getResourcePages = (data: any) => {
    return request({
        method: 'POST',
        url: '/boss/resource/getResourcePages',
        data
    })
}

// 给角色分配资源
export const getRoleResources = (data: any) => {
    return request({
        method: 'POST',
        url: '/boss/resource/getRoleResources',
        data
    })
}
